package backend

import (
	"github.com/iris-contrib/middleware/csrf"
	"github.com/kataras/iris"
	"github.com/kataras/iris/mvc"
)

type LoginController struct {
	Ctx iris.Context
}

func (c *LoginController) GetLogin() mvc.Result {
	return mvc.View{
		Name: "/admin/login/index.html",
		Data: iris.Map{
			csrf.TemplateTag: csrf.TemplateField(c.Ctx),
		},
	}
}
